﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Script.Serialization;

namespace Book.Json
{
    public class JsonTransform
    {
/*        public string listtojson(list<?> ts)
        {
            //创建一个javascriptserializer对象
            javascriptserializer serializer = new javascriptserializer();

            //将用户列表序列化成json
            string serializedresult = serializer.serialize();
            return serializedresult;
        }*/
    }
}
